Repository navigation
Explain on-demand push failures when submodule branch names differ - #2100
Open
AmanBoronbaev wants to merge 1 commit into
Open
AmanBoronbaev wants to merge 1 commit into
AmanBoronbaev wants to merge 1 commit into
Conversation
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Explain how to publish a submodule commit when an on-demand push from
mainfails because the submodule has only a localmasterbranch. The example pushes the intended submodule branch, then uses--recurse-submodules=checkfor the main project.Context
Fixes #2060. With Git 2.56.1, two local bare remotes, and an unpushed submodule commit, both the default on-demand push and the explicit
origin mainform failed on the missing source ref. The two commands in the text published both commits. The updated section also renders in Asciidoctor.